cmake_minimum_required(VERSION 3.3)
project(server)


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories(C:/develop/vcpkg-2020.04/installed/x64-windows/include)
link_directories(C:/develop/vcpkg-2020.04/installed/x64-windows/lib)

aux_source_directory(. DIR_SRCS)

link_libraries(grpc++_unsecure grpc++ grpc gpr upb upb_json upb_pb zlib ws2_32 ${GRPCPP_UNSECURE_LIBRARIES} ${LIBCARES_LIBRARIES})
add_definitions(-D_WIN32_WINNT=0x600 /std:c++17 )

add_executable( ${PROJECT_NAME} ${DIR_SRCS} ${HEADER_FILES})

